import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'
const routes: Array<RouteRecordRaw> = [
  // {
  //   path: '/',
  //   name: 'Home',
  //   meta: {
  //     title: '首页',
  //     keepAlive: true
  //   },
  //   component: () => import('@/views/Home/index.vue')
  // },
  {
    path: '/',
    name: 'HealthReport',
    meta: {
      title: '健康报告',
      keepAlive: true
    },
    component: () => import('@/views/HealthReport/index.vue')
  },
  {
    path: '/riskAnalysis',
    name: 'RiskAnalysis',
    meta: {
      title: '风险分层'
    },
    component: () => import('@/views/HealthReport/riskAnalysis.vue')
  },
]
const router = createRouter({
  history: createWebHashHistory(),
  routes
})
export default router
